package com.lihepeng.leecode.dk;
import java.util.Scanner;

public class Solution01 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNextInt()) {
            int commandSize = in.nextInt();
            int resultSize = in.nextInt();
            int curHeigh =0;
            int curWidth = 0;
            int area = 0;
            for (int i=0;i<commandSize;i++) {
                // 宽度
                int dotA = in.nextInt();
                // 高度
                int heigh = in.nextInt();
                curHeigh +=heigh;

            }
        }
    }
}
